package com.skyc.service.impl;

import java.util.List;

import com.skyc.dao.collectionDao;
import com.skyc.dao.impl.collectionDaoImpl;
import com.skyc.entity.Clothes;
import com.skyc.entity.User;
import com.skyc.service.collectionService;

public class collectionServiceImpl implements collectionService{

	@Override
	public boolean addcollection(User user, int ccid) {
		collectionDao cd=new collectionDaoImpl();
		return cd.addcollection(user, ccid);
	}

	@Override
	public boolean deletecollection(User user, int ccid) {
		collectionDao cd=new collectionDaoImpl();
		return cd.deletecollection(user, ccid);
	}

	@Override
	public List<Clothes> ucollection(User user) {
		collectionDao cd=new collectionDaoImpl();
		return  cd.ucollection(user);
	}

	
}
